package com.wingscode.modules.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wingscode.common.utils.PageUtils;
import com.wingscode.modules.common.entity.ChatDetailEntity;

import java.util.Map;


/**
 * 广告
 *
 * @author yan
 */
public interface ChatDetailService extends IService<ChatDetailEntity> {

    void updateByFromAgent(ChatDetailEntity chatDetail);

    void updateByToAgent(ChatDetailEntity chatDetail);

    void updateByToUserId(ChatDetailEntity chatDetail);

    PageUtils getDetail(Map<String, Object> params);

    void deleteByChatId(Integer chatId);
}

